export default {
  // 利用节点化碎片修改表格
  drawTable() {
    let Table = document.getElementById("Table");
    let fragment = document.createDocumentFragment();
    for (let i = 0; i < 20; i++) {
      let li = document.createElement("li");
      li.innerHTML = "index: " + i;
      fragment.appendChild(li);
    }
    Table.appendChild(fragment);
  },

  handleMouseDown(e, index) { 
    console.log(e, index, 'hh');
  },
}